package com.hz.api.admin.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Table(name = "lol_rank_users")
@TableName("lol_rank_users")
@Entity
@Data
public class LOLRankUsersEntity implements Serializable {
    private static final long serialVersionUID = -5922601592848313396L;
    @Id
    @TableId(type = IdType.AUTO)
    @Column(nullable = false)
    private Long id;

    @Column
    private String name;

    @Column()
    private BigDecimal currentScore;

    @Column
    private Integer rankSort;

    @Column
    private String rankName;

    @TableLogic
    private Integer deleted;

    @Column
    private Integer defeatsNum;

    @Column
    private Integer victoryNum;

}
